<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path=request.getContextPath();
	String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="css/table.css" />
</head>
<body>
	<div class="info">
		<strong>查找制定的用户信息:</strong>
		<input type="text" placeholder="请输入搜索关键字" name="UserName" class="input" style="width:250px; line-height:17px;display:inline-block">
		<a href="Ticket/UserInfo" class="button border-main icon-search" onclick="changesearch()"> 搜索</a>
	</div>
	<br/> 
	<center>
		<table class="gridtable">
			<tr class="trd">
				<th>用户名</th>
				<th>真实姓名</th>
				<th>身份证号</th>
				<th>手机号码</th>
				<th>邮箱</th>
			</tr>
			<!-- <tr class="trd">
				<td>zhangsan</td>
				<td>lisi</td>
				<td>440582199102230789</td>
				<td>13012312312</td>
				<td>123123123@qq.com</td>
			</tr>
			<tr class="trd">
				<td>zhangsan</td>
				<td>lisi</td>
				<td>440582199102230789</td>
				<td>13012312312</td>
				<td>123123123@qq.com</td>
			</tr>
			<tr class="trd">
				<td>zhangsan</td>
				<td>lisi</td>
				<td>440582199102230789</td>
				<td>13012312312</td>
				<td>123123123@qq.com</td>
			</tr> -->
			
			<c:forEach var="userInfo" items="${userList}">
			 	<tr>
			 		<td>${userInfo.username }</td>
			 		<td>${userInfo.userrealname }</td>
			 		<td>${userInfo.useridcard }</td>
			 		<td>${userInfo.userphone }</td>
			 		<td>${userInfo.useremail }</td>
			 	</tr>
			</c:forEach>
		</table>
	</center>
</body>
</html>